package com.eee.machine.beans;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TMachineExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TMachineExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andMachineIdIsNull() {
            addCriterion("machine_id is null");
            return (Criteria) this;
        }

        public Criteria andMachineIdIsNotNull() {
            addCriterion("machine_id is not null");
            return (Criteria) this;
        }

        public Criteria andMachineIdEqualTo(String value) {
            addCriterion("machine_id =", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdNotEqualTo(String value) {
            addCriterion("machine_id <>", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdGreaterThan(String value) {
            addCriterion("machine_id >", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdGreaterThanOrEqualTo(String value) {
            addCriterion("machine_id >=", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdLessThan(String value) {
            addCriterion("machine_id <", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdLessThanOrEqualTo(String value) {
            addCriterion("machine_id <=", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdLike(String value) {
            addCriterion("machine_id like", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdNotLike(String value) {
            addCriterion("machine_id not like", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdIn(List<String> values) {
            addCriterion("machine_id in", values, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdNotIn(List<String> values) {
            addCriterion("machine_id not in", values, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdBetween(String value1, String value2) {
            addCriterion("machine_id between", value1, value2, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdNotBetween(String value1, String value2) {
            addCriterion("machine_id not between", value1, value2, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineChannelAIsNull() {
            addCriterion("machine_channel_a is null");
            return (Criteria) this;
        }

        public Criteria andMachineChannelAIsNotNull() {
            addCriterion("machine_channel_a is not null");
            return (Criteria) this;
        }

        public Criteria andMachineChannelAEqualTo(String value) {
            addCriterion("machine_channel_a =", value, "machineChannelA");
            return (Criteria) this;
        }

        public Criteria andMachineChannelANotEqualTo(String value) {
            addCriterion("machine_channel_a <>", value, "machineChannelA");
            return (Criteria) this;
        }

        public Criteria andMachineChannelAGreaterThan(String value) {
            addCriterion("machine_channel_a >", value, "machineChannelA");
            return (Criteria) this;
        }

        public Criteria andMachineChannelAGreaterThanOrEqualTo(String value) {
            addCriterion("machine_channel_a >=", value, "machineChannelA");
            return (Criteria) this;
        }

        public Criteria andMachineChannelALessThan(String value) {
            addCriterion("machine_channel_a <", value, "machineChannelA");
            return (Criteria) this;
        }

        public Criteria andMachineChannelALessThanOrEqualTo(String value) {
            addCriterion("machine_channel_a <=", value, "machineChannelA");
            return (Criteria) this;
        }

        public Criteria andMachineChannelALike(String value) {
            addCriterion("machine_channel_a like", value, "machineChannelA");
            return (Criteria) this;
        }

        public Criteria andMachineChannelANotLike(String value) {
            addCriterion("machine_channel_a not like", value, "machineChannelA");
            return (Criteria) this;
        }

        public Criteria andMachineChannelAIn(List<String> values) {
            addCriterion("machine_channel_a in", values, "machineChannelA");
            return (Criteria) this;
        }

        public Criteria andMachineChannelANotIn(List<String> values) {
            addCriterion("machine_channel_a not in", values, "machineChannelA");
            return (Criteria) this;
        }

        public Criteria andMachineChannelABetween(String value1, String value2) {
            addCriterion("machine_channel_a between", value1, value2, "machineChannelA");
            return (Criteria) this;
        }

        public Criteria andMachineChannelANotBetween(String value1, String value2) {
            addCriterion("machine_channel_a not between", value1, value2, "machineChannelA");
            return (Criteria) this;
        }

        public Criteria andMachineChannelBIsNull() {
            addCriterion("machine_channel_b is null");
            return (Criteria) this;
        }

        public Criteria andMachineChannelBIsNotNull() {
            addCriterion("machine_channel_b is not null");
            return (Criteria) this;
        }

        public Criteria andMachineChannelBEqualTo(String value) {
            addCriterion("machine_channel_b =", value, "machineChannelB");
            return (Criteria) this;
        }

        public Criteria andMachineChannelBNotEqualTo(String value) {
            addCriterion("machine_channel_b <>", value, "machineChannelB");
            return (Criteria) this;
        }

        public Criteria andMachineChannelBGreaterThan(String value) {
            addCriterion("machine_channel_b >", value, "machineChannelB");
            return (Criteria) this;
        }

        public Criteria andMachineChannelBGreaterThanOrEqualTo(String value) {
            addCriterion("machine_channel_b >=", value, "machineChannelB");
            return (Criteria) this;
        }

        public Criteria andMachineChannelBLessThan(String value) {
            addCriterion("machine_channel_b <", value, "machineChannelB");
            return (Criteria) this;
        }

        public Criteria andMachineChannelBLessThanOrEqualTo(String value) {
            addCriterion("machine_channel_b <=", value, "machineChannelB");
            return (Criteria) this;
        }

        public Criteria andMachineChannelBLike(String value) {
            addCriterion("machine_channel_b like", value, "machineChannelB");
            return (Criteria) this;
        }

        public Criteria andMachineChannelBNotLike(String value) {
            addCriterion("machine_channel_b not like", value, "machineChannelB");
            return (Criteria) this;
        }

        public Criteria andMachineChannelBIn(List<String> values) {
            addCriterion("machine_channel_b in", values, "machineChannelB");
            return (Criteria) this;
        }

        public Criteria andMachineChannelBNotIn(List<String> values) {
            addCriterion("machine_channel_b not in", values, "machineChannelB");
            return (Criteria) this;
        }

        public Criteria andMachineChannelBBetween(String value1, String value2) {
            addCriterion("machine_channel_b between", value1, value2, "machineChannelB");
            return (Criteria) this;
        }

        public Criteria andMachineChannelBNotBetween(String value1, String value2) {
            addCriterion("machine_channel_b not between", value1, value2, "machineChannelB");
            return (Criteria) this;
        }

        public Criteria andMachineChannelCIsNull() {
            addCriterion("machine_channel_c is null");
            return (Criteria) this;
        }

        public Criteria andMachineChannelCIsNotNull() {
            addCriterion("machine_channel_c is not null");
            return (Criteria) this;
        }

        public Criteria andMachineChannelCEqualTo(String value) {
            addCriterion("machine_channel_c =", value, "machineChannelC");
            return (Criteria) this;
        }

        public Criteria andMachineChannelCNotEqualTo(String value) {
            addCriterion("machine_channel_c <>", value, "machineChannelC");
            return (Criteria) this;
        }

        public Criteria andMachineChannelCGreaterThan(String value) {
            addCriterion("machine_channel_c >", value, "machineChannelC");
            return (Criteria) this;
        }

        public Criteria andMachineChannelCGreaterThanOrEqualTo(String value) {
            addCriterion("machine_channel_c >=", value, "machineChannelC");
            return (Criteria) this;
        }

        public Criteria andMachineChannelCLessThan(String value) {
            addCriterion("machine_channel_c <", value, "machineChannelC");
            return (Criteria) this;
        }

        public Criteria andMachineChannelCLessThanOrEqualTo(String value) {
            addCriterion("machine_channel_c <=", value, "machineChannelC");
            return (Criteria) this;
        }

        public Criteria andMachineChannelCLike(String value) {
            addCriterion("machine_channel_c like", value, "machineChannelC");
            return (Criteria) this;
        }

        public Criteria andMachineChannelCNotLike(String value) {
            addCriterion("machine_channel_c not like", value, "machineChannelC");
            return (Criteria) this;
        }

        public Criteria andMachineChannelCIn(List<String> values) {
            addCriterion("machine_channel_c in", values, "machineChannelC");
            return (Criteria) this;
        }

        public Criteria andMachineChannelCNotIn(List<String> values) {
            addCriterion("machine_channel_c not in", values, "machineChannelC");
            return (Criteria) this;
        }

        public Criteria andMachineChannelCBetween(String value1, String value2) {
            addCriterion("machine_channel_c between", value1, value2, "machineChannelC");
            return (Criteria) this;
        }

        public Criteria andMachineChannelCNotBetween(String value1, String value2) {
            addCriterion("machine_channel_c not between", value1, value2, "machineChannelC");
            return (Criteria) this;
        }

        public Criteria andMachineChannelDIsNull() {
            addCriterion("machine_channel_d is null");
            return (Criteria) this;
        }

        public Criteria andMachineChannelDIsNotNull() {
            addCriterion("machine_channel_d is not null");
            return (Criteria) this;
        }

        public Criteria andMachineChannelDEqualTo(String value) {
            addCriterion("machine_channel_d =", value, "machineChannelD");
            return (Criteria) this;
        }

        public Criteria andMachineChannelDNotEqualTo(String value) {
            addCriterion("machine_channel_d <>", value, "machineChannelD");
            return (Criteria) this;
        }

        public Criteria andMachineChannelDGreaterThan(String value) {
            addCriterion("machine_channel_d >", value, "machineChannelD");
            return (Criteria) this;
        }

        public Criteria andMachineChannelDGreaterThanOrEqualTo(String value) {
            addCriterion("machine_channel_d >=", value, "machineChannelD");
            return (Criteria) this;
        }

        public Criteria andMachineChannelDLessThan(String value) {
            addCriterion("machine_channel_d <", value, "machineChannelD");
            return (Criteria) this;
        }

        public Criteria andMachineChannelDLessThanOrEqualTo(String value) {
            addCriterion("machine_channel_d <=", value, "machineChannelD");
            return (Criteria) this;
        }

        public Criteria andMachineChannelDLike(String value) {
            addCriterion("machine_channel_d like", value, "machineChannelD");
            return (Criteria) this;
        }

        public Criteria andMachineChannelDNotLike(String value) {
            addCriterion("machine_channel_d not like", value, "machineChannelD");
            return (Criteria) this;
        }

        public Criteria andMachineChannelDIn(List<String> values) {
            addCriterion("machine_channel_d in", values, "machineChannelD");
            return (Criteria) this;
        }

        public Criteria andMachineChannelDNotIn(List<String> values) {
            addCriterion("machine_channel_d not in", values, "machineChannelD");
            return (Criteria) this;
        }

        public Criteria andMachineChannelDBetween(String value1, String value2) {
            addCriterion("machine_channel_d between", value1, value2, "machineChannelD");
            return (Criteria) this;
        }

        public Criteria andMachineChannelDNotBetween(String value1, String value2) {
            addCriterion("machine_channel_d not between", value1, value2, "machineChannelD");
            return (Criteria) this;
        }

        public Criteria andMachineChannelEIsNull() {
            addCriterion("machine_channel_e is null");
            return (Criteria) this;
        }

        public Criteria andMachineChannelEIsNotNull() {
            addCriterion("machine_channel_e is not null");
            return (Criteria) this;
        }

        public Criteria andMachineChannelEEqualTo(String value) {
            addCriterion("machine_channel_e =", value, "machineChannelE");
            return (Criteria) this;
        }

        public Criteria andMachineChannelENotEqualTo(String value) {
            addCriterion("machine_channel_e <>", value, "machineChannelE");
            return (Criteria) this;
        }

        public Criteria andMachineChannelEGreaterThan(String value) {
            addCriterion("machine_channel_e >", value, "machineChannelE");
            return (Criteria) this;
        }

        public Criteria andMachineChannelEGreaterThanOrEqualTo(String value) {
            addCriterion("machine_channel_e >=", value, "machineChannelE");
            return (Criteria) this;
        }

        public Criteria andMachineChannelELessThan(String value) {
            addCriterion("machine_channel_e <", value, "machineChannelE");
            return (Criteria) this;
        }

        public Criteria andMachineChannelELessThanOrEqualTo(String value) {
            addCriterion("machine_channel_e <=", value, "machineChannelE");
            return (Criteria) this;
        }

        public Criteria andMachineChannelELike(String value) {
            addCriterion("machine_channel_e like", value, "machineChannelE");
            return (Criteria) this;
        }

        public Criteria andMachineChannelENotLike(String value) {
            addCriterion("machine_channel_e not like", value, "machineChannelE");
            return (Criteria) this;
        }

        public Criteria andMachineChannelEIn(List<String> values) {
            addCriterion("machine_channel_e in", values, "machineChannelE");
            return (Criteria) this;
        }

        public Criteria andMachineChannelENotIn(List<String> values) {
            addCriterion("machine_channel_e not in", values, "machineChannelE");
            return (Criteria) this;
        }

        public Criteria andMachineChannelEBetween(String value1, String value2) {
            addCriterion("machine_channel_e between", value1, value2, "machineChannelE");
            return (Criteria) this;
        }

        public Criteria andMachineChannelENotBetween(String value1, String value2) {
            addCriterion("machine_channel_e not between", value1, value2, "machineChannelE");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Byte value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Byte value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Byte value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Byte value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Byte value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Byte> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Byte> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Byte value1, Byte value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIsNull() {
            addCriterion("delete_flag is null");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIsNotNull() {
            addCriterion("delete_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagEqualTo(Byte value) {
            addCriterion("delete_flag =", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotEqualTo(Byte value) {
            addCriterion("delete_flag <>", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagGreaterThan(Byte value) {
            addCriterion("delete_flag >", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagGreaterThanOrEqualTo(Byte value) {
            addCriterion("delete_flag >=", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagLessThan(Byte value) {
            addCriterion("delete_flag <", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagLessThanOrEqualTo(Byte value) {
            addCriterion("delete_flag <=", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIn(List<Byte> values) {
            addCriterion("delete_flag in", values, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotIn(List<Byte> values) {
            addCriterion("delete_flag not in", values, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagBetween(Byte value1, Byte value2) {
            addCriterion("delete_flag between", value1, value2, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotBetween(Byte value1, Byte value2) {
            addCriterion("delete_flag not between", value1, value2, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeIsNull() {
            addCriterion("create_datetime is null");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeIsNotNull() {
            addCriterion("create_datetime is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeEqualTo(Date value) {
            addCriterion("create_datetime =", value, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeNotEqualTo(Date value) {
            addCriterion("create_datetime <>", value, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeGreaterThan(Date value) {
            addCriterion("create_datetime >", value, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_datetime >=", value, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeLessThan(Date value) {
            addCriterion("create_datetime <", value, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeLessThanOrEqualTo(Date value) {
            addCriterion("create_datetime <=", value, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeIn(List<Date> values) {
            addCriterion("create_datetime in", values, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeNotIn(List<Date> values) {
            addCriterion("create_datetime not in", values, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeBetween(Date value1, Date value2) {
            addCriterion("create_datetime between", value1, value2, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeNotBetween(Date value1, Date value2) {
            addCriterion("create_datetime not between", value1, value2, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andErrorCodeIsNull() {
            addCriterion("error_code is null");
            return (Criteria) this;
        }

        public Criteria andErrorCodeIsNotNull() {
            addCriterion("error_code is not null");
            return (Criteria) this;
        }

        public Criteria andErrorCodeEqualTo(String value) {
            addCriterion("error_code =", value, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorCodeNotEqualTo(String value) {
            addCriterion("error_code <>", value, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorCodeGreaterThan(String value) {
            addCriterion("error_code >", value, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorCodeGreaterThanOrEqualTo(String value) {
            addCriterion("error_code >=", value, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorCodeLessThan(String value) {
            addCriterion("error_code <", value, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorCodeLessThanOrEqualTo(String value) {
            addCriterion("error_code <=", value, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorCodeLike(String value) {
            addCriterion("error_code like", value, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorCodeNotLike(String value) {
            addCriterion("error_code not like", value, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorCodeIn(List<String> values) {
            addCriterion("error_code in", values, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorCodeNotIn(List<String> values) {
            addCriterion("error_code not in", values, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorCodeBetween(String value1, String value2) {
            addCriterion("error_code between", value1, value2, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorCodeNotBetween(String value1, String value2) {
            addCriterion("error_code not between", value1, value2, "errorCode");
            return (Criteria) this;
        }

        public Criteria andIsBindedIsNull() {
            addCriterion("is_binded is null");
            return (Criteria) this;
        }

        public Criteria andIsBindedIsNotNull() {
            addCriterion("is_binded is not null");
            return (Criteria) this;
        }

        public Criteria andIsBindedEqualTo(Byte value) {
            addCriterion("is_binded =", value, "isBinded");
            return (Criteria) this;
        }

        public Criteria andIsBindedNotEqualTo(Byte value) {
            addCriterion("is_binded <>", value, "isBinded");
            return (Criteria) this;
        }

        public Criteria andIsBindedGreaterThan(Byte value) {
            addCriterion("is_binded >", value, "isBinded");
            return (Criteria) this;
        }

        public Criteria andIsBindedGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_binded >=", value, "isBinded");
            return (Criteria) this;
        }

        public Criteria andIsBindedLessThan(Byte value) {
            addCriterion("is_binded <", value, "isBinded");
            return (Criteria) this;
        }

        public Criteria andIsBindedLessThanOrEqualTo(Byte value) {
            addCriterion("is_binded <=", value, "isBinded");
            return (Criteria) this;
        }

        public Criteria andIsBindedIn(List<Byte> values) {
            addCriterion("is_binded in", values, "isBinded");
            return (Criteria) this;
        }

        public Criteria andIsBindedNotIn(List<Byte> values) {
            addCriterion("is_binded not in", values, "isBinded");
            return (Criteria) this;
        }

        public Criteria andIsBindedBetween(Byte value1, Byte value2) {
            addCriterion("is_binded between", value1, value2, "isBinded");
            return (Criteria) this;
        }

        public Criteria andIsBindedNotBetween(Byte value1, Byte value2) {
            addCriterion("is_binded not between", value1, value2, "isBinded");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}